package com.example.backgroundmanager.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

import java.util.List;

@Data
//用于登录请求
public class UserDTO {
    private String username;
    private String password;
    private String nickname;
    @TableField(value = "avatar_url") //指定avatar属性对应列名avater_url
    private String avaterUrl;
    private String token;
    private String role;
    private List<Menu> menus;
    private Integer id;
}
